try {
    Type.registerNamespace('TransInScanVO');
    TransInScanVO = function() {};
    TransInScanVO.prototype = new NCMMPubUtil.SuperVO();
    //主键
    TransInScanVO.PK_TRANSINSCAN = {
		name: "pk_transinscan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
    //单据号
    TransInScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头单据状态
    TransInScanVO.FBILLFLAG = {
		name: "fbillflag",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头主键
    TransInScanVO.CGENERALHID = {
		name: "cgeneralhid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	
	//表体主键
	TransInScanVO.CGENERALBID = {
		name: "cgeneralbid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//子表行号
    TransInScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料主键
	TransInScanVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	TransInScanVO.CMATERIALVID_CODE = {
		name: "cmaterialvid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	TransInScanVO.CMATERIALVID_NAME = {
		name: "cmaterialvid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	TransInScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	TransInScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体计量单位名称
    TransInScanVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体计量单位编码
    TransInScanVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体计量单位主键
    TransInScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体辅单位名称
    TransInScanVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体辅单位编码
    TransInScanVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体辅单位主键
    TransInScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位（调入仓库）
	TransInScanVO.CINSPACEID = {
		name: "cinspaceid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位编码
	TransInScanVO.CINSPACEID_CODE = {
		name: "cinspaceid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//货位名称
	TransInScanVO.CINSPACEID_NAME = {
		name: "cinspaceid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	TransInScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号pk
	TransInScanVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	TransInScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体应发主数量
    TransInScanVO.NSHOULDINNUM = {
		name: "nshouldinnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体应发数量
    TransInScanVO.NSHOULDASSISTNUM = {
		name: "nshouldassistnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	TransInScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	TransInScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//调入仓库
	TransInScanVO.COTHERWHID={
	   name:"cotherwhid",
	   type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	TransInScanVO.prototype.getAllAttrs = function() {
		return [TransInScanVO.PK_TRANSINSCAN,
		    TransInScanVO.VBILLCODE,
		    TransInScanVO.FBILLFLAG,
		    TransInScanVO.CGENERALHID,
		    //表体
		    TransInScanVO.CGENERALBID,
		    TransInScanVO.CROWNO,
		    TransInScanVO.CMATERIALVID,
		    TransInScanVO.CMATERIALVID_CODE,
		    TransInScanVO.CMATERIALVID_NAME,
		    TransInScanVO.MATERIALSPEC,
		    TransInScanVO.MATERIALTYPE,
		     TransInScanVO.CUNITID_NAME,
		    TransInScanVO.CUNITID_CODE,
		    TransInScanVO.CUNITID,
		    TransInScanVO.CASTUNITID_NAME,
		    TransInScanVO.CASTUNITID_CODE,
		    TransInScanVO.CASTUNITID,
		    TransInScanVO.CINSPACEID,
		    TransInScanVO.CINSPACEID_CODE,
		    TransInScanVO.CINSPACEID_NAME,
		    TransInScanVO.VBATCHCODE,
		    TransInScanVO.PK_BATCHCODE,
		    TransInScanVO.VSERIALCODE,
		    TransInScanVO.NSHOULDINNUM,
		    TransInScanVO.NSHOULDASSISTNUM,
		    TransInScanVO.NSCANNUM,
		    TransInScanVO.NSCANASTNUM,
		    TransInScanVO.COTHERWHID];
	};
	
    TransInScanVO.prototype.getTableName = function() {
        return "to_transin_scan";
    };
    TransInScanVO.prototype.getPrimaryAttr = function() {
		return TransInScanVO.PK_TRANSINSCAN;
	};
} catch(e) {
    $e(e);
}